Do not limit current-time-string to years 1000..9999.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 3 May 2012 20:04:29 +0000 (13:04 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 3 May 2012 20:04:29 +0000 (13:04 -0700)
commitfb9966b17b7fd4a1c9ac0f0eef4c0e05cb492183
tree722951dcd3aecb631a6cf6ae11f7a8ab60efe1ab
parent906523f73d1a78f3f8ae6b7cc247a733dd2a5624
Do not limit current-time-string to years 1000..9999.

* src/editfns.c (TM_YEAR_IN_ASCTIME_RANGE): Remove.
(Fcurrent_time_string): Support any year that is supported by the
underlying localtime representation.  Don't use asctime, as it
has undefined behavior for years outside the range -999..9999.
* doc/lispref/os.texi (Time of Day): Do not limit current-time-string
to years 1000..9999.
* etc/NEWS: Do not limit current-time-string to years 1000..9999.
doc/lispref/ChangeLog
doc/lispref/os.texi
etc/ChangeLog
etc/NEWS
src/ChangeLog
src/editfns.c